package com.lvlian;


import java.util.HashMap;
import java.util.Map;

public class KV {

    private String k;
    private String v;

    public KV(String k, String v) {
        this.k = k;
        this.v = v;
    }

    public String getK() {
        return k;
    }

    public String getV() {
        return v;
    }

    public static void main(String[] args) {
        Map<Integer, KV> map = new HashMap<>();
        map.put(1, new KV("ROW_ID", "id"));
        map.put(2, new KV("PAYMENT_NUM", "payment_num"));
        map.put(3, new KV("PAYMENT_TYPE", "payment_type"));
        map.put(4, new KV("PAY_TIME", "pay_time"));
        map.put(5, new KV("PAYER_NAME", "payer_name"));
        map.put(6, new KV("PAYER_BANK", "payer_bank"));
        map.put(7, new KV("PAYER_ACCNO", "payer_accno"));
        map.put(8, new KV("PAYEE_NAME", "payee_name"));
        map.put(9, new KV("PAYEE_BANK", "payee_bank"));
        map.put(10, new KV("PAYEE_ACCNO", "payee_accno"));
        map.put(11, new KV("CURRENCY", "currency"));
        map.put(12, new KV("AMOUNT", "amount"));
        map.put(13, new KV("AMOUNT_WORDS", "amount_words"));
        map.put(14, new KV("CHANNEL", "channel"));
        map.put(15, new KV("ABSTRACT", "abstract"));
        map.put(16, new KV("BANK_NAME", "bank_name"));
        map.put(17, new KV("REMAIN_AMOUNT", "remain_amount"));
        map.put(18, new KV("USE_STS", "use_sts"));
        map.put(19, new KV("IS_ADVANCE_PAYMENT", "is_advance_payment"));
        map.put(20, new KV("IS_WITH_INVOICE", "is_with_invoice"));
        map.put(21, new KV("RECORDER", "create_user"));
        map.put(22, new KV("RECORD_DATE", "create_date"));
        map.put(23, new KV("ORG_CODE", "org_code"));
        map.put(24, new KV("LFRK_REMAIN_AMOUNT", "lfrk_remain_amount"));
        map.put(25, new KV("ZSRK_REMAIN_AMOUNT", "zsrk_remain_amount"));

        // 输出map内容
        for (Map.Entry<Integer, KV> entry : map.entrySet()) {
            System.out.println(entry.getKey() + ": " + entry.getValue().getK() + " -> " + entry.getValue().getV());
        }
    }
}
